package Interface.base.demo3;

public class ComparableCircle extends Circle implements CompareObject {
    @Override
    public int compareTo(Object o) {
        Circle other = (Circle) o;
        return this.getRedius().compareTo(other.getRedius());

    }

}
